﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ClassLibraryLab3;

namespace ClassLibraryLab3
{
    	class CreatorService : Creator  
	    {  
	    public override AbstractPlane FactoryMethod()  
	    {  
	        return new Cargos();  
	    }    
	    public override AbstractPlane FactoryMethod(string _name)  
	    {
            return new Cargos(_name);  
	    }
        public override AbstractPlane FactoryMethod(string _name, decimal _structure)  
	    {
            return new Cargos(_name, _structure);  
	    }
        public override AbstractPlane FactoryMethod(string _name, decimal _structure, decimal _size)  
	    {
            return new Cargos(_name, _structure, _size);  
	    }
        public override Service FactoryMethod2(string _name, decimal _structure, decimal _size, string _maneuverability)    
	    {
            return new Cargos(_name, _structure, _size, _maneuverability);  
	    }
        public override Service FactoryMethod2(string _name, decimal _structure, decimal _size, string _maneuverability, string _power)
        {
            return new Cargos(_name, _structure, _size, _maneuverability, _power);
        }
        public override Cargo FactoryMethod3(string _name, decimal _structure, decimal _size, string _maneuverability, string _power, string _protection)
        {
            return new Cargos(_name, _structure, _size, _maneuverability, _power, _protection);
        }
        public override Agriculture FactoryMethod4(string _name, decimal _structure, decimal _size, string _maneuverability, string _power, decimal _cost)
        {
            return new Agricultures(_name, _structure, _size, _maneuverability, _power, _cost);
        }
        public override LightAircraft FactoryMethod5(string _name, decimal _structure, decimal _size, string _maneuverability, string _power, decimal _light)
        {
            return new LightAircrafts(_name, _structure, _size, _maneuverability, _power, _light);
        }
        public override LightAircraft FactoryMethod5(string _name, decimal _structure, decimal _size, string _maneuverability, string _power, decimal _light, decimal _speed)
        {
            return new LightAircrafts(_name, _structure, _size, _maneuverability, _power, _light, _speed);
        }
        public override Passenger FactoryMethod6(string _name, decimal _structure, decimal _size, string _capacity)
        {
            return new Screws(_name, _structure, _size, _capacity);
        }
        public override Screw FactoryMethod7(string _name, decimal _structure, decimal _size, string _capacity, decimal _slow)
        {
            return new Screws(_name, _structure, _size, _capacity, _slow);
        }
        public override Transcontinental FactoryMethod8(string _name, decimal _structure, decimal _size, string _capacity, decimal _range)
        {
            return new Transcontinentals(_name, _structure, _size, _capacity, _range);
        }
        public override Personal FactoryMethod9(string _name, decimal _structure, decimal _size, string _convenience)
        {
            return new Personals(_name, _structure, _size, _convenience);
        }
	}  
}
